package com.xy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableAsync//开启异步处理功能（1.异步任务）
@EnableScheduling//开始定时功能的注解（3.定时任务）
@SpringBootApplication
public class SpringBootReview9TestApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringBootReview9TestApplication.class, args);
	}

}
